<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>cloak</title>
    <script src="https://cdn.staticfile.org/vue/2.2.2/vue.min.js"></script>
    <style>
        [v-cloak]{
            display: none;
        }
    </style>
</head>
<body>
<div id="case2-demo3">
    <p v-cloak v-html="srcMessage"></p>
</div>
<script type="text/javascript">
    var case2Demo=new Vue({
        el:"#case2-demo3",
        data:{
            srcMessage:`<img src=\"../images/timg.jpg\" height=\"852\" width=\"720\"/>`
        },
        beforeMount:function () {
            alert("执行")
        }
    })
    </script>
</body>
</html>